package ncme.auto.framework.core.entities.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource(value = "classpath:config-dev.properties", ignoreResourceNotFound = true)
@Component
@ConfigurationProperties(prefix = "path-config")
public class ConfigBean {

    private String headerPath;

    private String headUrl;

    private String networkDiskPath;

    private String networkDiskUrl;

    private String fileStorePath;

    private String fileStoreUrl;

    public ConfigBean() {
    }

    public String getHeaderPath() {
        return headerPath;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public String getNetworkDiskPath() {
        return networkDiskPath;
    }

    public String getNetworkDiskUrl() {
        return networkDiskUrl;
    }

    public String getFileStorePath() {
        return fileStorePath;
    }

    public String getFileStoreUrl() {
        return fileStoreUrl;
    }

    public void setHeaderPath(String headerPath) {
        this.headerPath = headerPath;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public void setNetworkDiskPath(String networkDiskPath) {
        this.networkDiskPath = networkDiskPath;
    }

    public void setNetworkDiskUrl(String networkDiskUrl) {
        this.networkDiskUrl = networkDiskUrl;
    }

    public void setFileStorePath(String fileStorePath) {
        this.fileStorePath = fileStorePath;
    }

    public void setFileStoreUrl(String fileStoreUrl) {
        this.fileStoreUrl = fileStoreUrl;
    }

    @Override
    public String toString() {
        return "ConfigBean{" + "headerPath='" + headerPath + '\'' + ", headUrl='" + headUrl + '\'' + ", networkDiskPath='" + networkDiskPath + '\'' + ", networkDiskUrl='" + networkDiskUrl + '\'' + ", fileStorePath='" + fileStorePath + '\'' + ", fileStoreUrl='" + fileStoreUrl + '\'' + '}';
    }
}
